
#include <iostream>
#include <chrono>

int main() {
    auto systemTime = std::chrono::system_clock::now(); // 使用系统时钟获取当前时间点
    auto steadyTime = std::chrono::steady_clock::now(); // 使用稳定时钟获取当前时间点
    auto highResTime = std::chrono::high_resolution_clock::now(); // 使用高分辨率时钟获取当前时间点

    std::cout << "System time: " << systemTime.time_since_epoch().count() << " milliseconds since epoch.\n";
    std::cout << "Steady time: " << steadyTime.time_since_epoch().count() << " milliseconds since epoch.\n";
    std::cout << "High resolution time: " << highResTime.time_since_epoch().count() << " milliseconds since epoch.\n";

    return 0;
}